package com.huoxingy.print.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by hanxi on 2018/10/8.
 */
@Data
@Entity
@NoArgsConstructor
@Table(name = "f_sales_item")
public class SalesItemFact {
    @Id
    private String id;
    private String productId;
    private short qty;
    private double commission;
    private String employeeUsername;
    private String memberId;
    private String source;
    @Temporal(TemporalType.TIMESTAMP)
    private Date paymentTime;
    private double salesPrice;
    private String storeId;
    /**
     * 订单编号，退化维度
     */
    private String orderCode;
}
